package com.ly.airline.pojo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import java.io.Serializable;
import lombok.Data;

/**
 * @author ：xxl
 * @ClassName User
 * @date ：Created in 2022/4/29 3:00
 * @description： TODO
 * @modified By：
 * @version: 1.0
 */
@ApiModel(value = "com.ly.airline.pojo.User")
@Data
@TableName(value = "t_user")
public class User implements Serializable {
    public static final String COL_USER_DEL = "user_del";
    @TableId(value = "user_id", type = IdType.AUTO)
    @ApiModelProperty(value = "null")
    private Integer userId;

    @TableField(value = "user_name")
    @ApiModelProperty(value = "null")
    private String userName;

    @TableField(value = "user_pw")
    @ApiModelProperty(value = "null")
    private String userPw;

    @TableField(value = "user_realname")
    @ApiModelProperty(value = "null")
    private String userRealname;

    @TableField(value = "user_sex")
    @ApiModelProperty(value = "null")
    private String userSex;

    @TableField(value = "user_age")
    @ApiModelProperty(value = "null")
    private Integer userAge;

    @TableField(value = "user_address")
    @ApiModelProperty(value = "null")
    private String userAddress;

    @TableField(value = "user_tel")
    @ApiModelProperty(value = "null")
    private String userTel;

    @TableField(value = "is_delete")
    @ApiModelProperty(value = "null")
    private Integer isDelete;

    private static final long serialVersionUID = 1L;

    public static final String COL_USER_ID = "user_id";

    public static final String COL_USER_NAME = "user_name";

    public static final String COL_USER_PW = "user_pw";

    public static final String COL_USER_REALNAME = "user_realname";

    public static final String COL_USER_SEX = "user_sex";

    public static final String COL_USER_AGE = "user_age";

    public static final String COL_USER_ADDRESS = "user_address";

    public static final String COL_USER_TEL = "user_tel";

    public static final String COL_IS_DELETE = "is_delete";
}